<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8">
		<title>YourWiki</title>
		<%= javascript_include_tag :defaults, :cache => true %>
		<%= stylesheet_link_tag "main", :cache => true %>
	</head>
	<body>
		<div id="header">
			<div id="user">
				<% if logged_in? %>
					<%= current_user.login %> |
					<%= link_to 'Logout', logout_path, :method => "delete" %>
				<% else %>
					<%= link_to 'Login', login_path %> |
					<%= link_to 'Signup', signup_path %>
				<% end %>
			</div>
			<%= link_to( image_tag('bitswiki.png', :border => 0), root_path, :id => "logo" ) %>
		</div>
		<div id="content">
			<%= yield %>
		</div>
	</body>
</html>